/*****************************************Copyright(C)******************************************
******************************************* *********************************************
*------------------------------------------文件信息---------------------------------------------
* FileName          : bsp_led.h
* Author            : 张婷�?
* Version           : 1.0V
* Description       : 
*----------------------------------------历史版本信息-------------------------------------------
* History           :
* Description       :
*-----------------------------------------------------------------------------------------------
***********************************************************************************************/
#ifndef BSP_LED_H_
#define BSP_LED_H_
/* Includes-----------------------------------------------------------------------------------*/
#include "main.h"
#include "top_scheme.h"
/* Private define-----------------------------------------------------------------------------*/
#define LED_H  HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, GPIO_PIN_RESET);
#define LED_L  HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, GPIO_PIN_SET);

void led_control(void);

#if RS485_DB9
#define LED_DELAY   10
#else
#define LED_DELAY   100
#endif
/* Private typedef----------------------------------------------------------------------------*/

/* Private macro------------------------------------------------------------------------------*/

/* Private variables--------------------------------------------------------------------------*/

/* Private function prototypes----------------------------------------------------------------*/

/* Private functions--------------------------------------------------------------------------*/

#endif /* BSP_LED_H_ */
